* {
    box-sizing: border-box;
}

.nav {
    position: absolute;
    float: left;
    display: inline-flex;
    position: relative;
    overflow: hidden;
    max-width: 100%;
    padding: 0 20px;
    border-radius: 40px;
    box-shadow: 0 10px 40px rgba(159, 162, 177, .8);
}
.nav-item {
    color: #83818c;
    padding: 20px;
    text-decoration: none;
    transition: 0.3s;
    margin: 0 6px;
    z-index: auto;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 500;
    position: relative;
}
.nav-item:before {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 5px;
    background-color:pink;
    border-radius: 8px 8px 0 0;
    opacity: 0;
    transition: 0.3s;
}
.nav-item:not(.is-active):hover:before {
    opacity: 1;
    bottom: 0;
}
.nav-item:not(.is-active):hover {
    color: #333;
}
.nav-indicator {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    transition: 0.4s;
    height: 5px;
    z-index: auto;
    border-radius: 8px 8px 0 0;
}
@media (max-width: 580px) {
    .nav {
        overflow: auto;
    }
}
#navv{

    width: auto;
    height: 7%;
    position:absolute;
    float: left;
    top: 2px;
    left: 10px;
}

#lunbo{
    width: auto;
    height: auto;
    position:relative;
    float: left;
    background-color: rebeccapurple;


}
#lf{
    position: absolute;
    left: 50px;
    top: 56px;
}
#tp{
    position: absolute;
right: 0;

}
#tp1{
    position: absolute;
    height: 160px;
    width: 400px;
    background-color: #bbcbff;
    right: 35px;
    top: 5px;
}
#tp2{
    position: absolute;
    height: 160px;
    width: 400px;
    background-color: #bbcbff;
    right: 35px;
    top: 185px;
}
#bq{
    position: absolute;
    top: 700px;
    left: 50%;
}
#kf{

    position: absolute;
    top: 660px;
    left: 50px;

}
#food{
position: absolute;
    height: 500px;
    width: 1100px;
    border: #0f6674;
    top: 325px;

    right: 0;
}
#cart{
height: 32px;
    width: 55px;
    position: absolute;
    right:  5%;
    top: 350px;
z-index: 1;
}